home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / windows / games / winpcx2.arj / WINPCX.DOC < prev    next >
Text File  |  1989-10-20  |  3KB  |  57 lines

  1.                              WinPcx
  2.  
  3.                        William L. Moussiaux
  4.                         Farradyne Sys. Inc.
  5.                        3206 Tower Oaks Blvd.
  6.                         Rockville Md, 20852
  7.                       (301) 468-5568 - Voice
  8.                    Compuserve Contact #71641,117
  9.  
  10. WinPcx is a MS Windows program that reads .PCX paint files and displays
  11. them on the screen. I wrote this program to read a .PCX file into another
  12. program that I'm currently writting. I optained the original code for reading
  13. a .PCX file from a fellow associate, Jim Karl. His version was written to only
  14. read one specific .PCX file and did not work at all with different Paint
  15. Versions or .PCX files. 
  16.  
  17. Since there doesn't seem to be help available on how to read .PCX Files under
  18. Windows, I'm posting this program for all to use, alter and incorapate into
  19. there own programs. Of course, it can still be used to just veiw .PCX files
  20. under Windows.
  21.  
  22. Since I didn't spend months writing and perfecting the code, there are some
  23. bugs and limitations. Windows can only use 8 colors without merging the colors
  24. together, so if some colors look strange, that's why. When reading a .PCX that
  25. has the Palettle turned off, the picture will be cyan instead of black. I
  26. couldn't figure out how to convert it to black. 
  27.  
  28. VGA .PCX files seem to be a big problem. They will either work, over lap
  29. itself, lock the computer or start the printer going. Why it does this, I'm
  30. not to sure. I believe it has something to do with the number of bytes per
  31. pixel and line.
  32.  
  33. WinPcx is abit of a memory hog. A full size EGA .PCX file will take an easy
  34. 64k chuck of memory. When the .PCX file is larger than the screen, the
  35. display is altered to make it fit. This step also take a large chuck of memory
  36. but frees it shortly after. This function of shrinking the .PCX file was added
  37. basicly for reading EGA files under CGA mode.
  38.  
  39. If you fix any of the bugs or make some interesting changes (like getting VGA
  40. files to work), I would appericate a copy of the code. Please feel free to 
  41. copy and distribute this program and code to others.
  42.  
  43. The following files are includes in this .ZIP file:
  44.  
  45. WinPcx         - Make File
  46. WinPcx.c       - Source Code 
  47. WinPcx.def     - Definition File
  48. WinPcx.rc      - Code For Make The Menus And Dialog Boxes
  49. WinPcx.var     - Global Varables
  50. WinPcx.h       - Defines
  51. WinPcx.pro     - Prototypes
  52. WinPcx.inc     - Include Files For Program
  53. WinPcx.doc     - This File
  54. WinPcx.res     - Compiles Menus And Dialog Boxes
  55. WinPcx.exe     - The Compiled Windows Program
  56.  
  57.